<?=form_open('matches/teamselect')?>
<select id="matchteams" name="team" onchange="submit()">
  <option value="matches">Alle Spiele von...</option>
  <?php $i=0; foreach($teams as $t): ?>
	<option<?=isSelected($t->three, $teamselected);?> value="matches/team/<?=$t->three?>"><?=$t->name?></option>
  <?php endforeach; ?>
</select>
<noscript><input type="submit" value="Los" /></noscript>
<?=form_close();?>
